package com.lantosec.hmrp.modules.supplier.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.modules.supplier.entity.SupplierAccessory;
import com.lantosec.hmrp.modules.supplier.vo.SupplierAccessoryVO;

import java.util.List;

/**
 * <p>
 * 供应商附件信息 服务类
 * </p>
 *
 * @author AutoCode
 * @since 2020-02-20
 */
public interface ISupplierAccessoryService extends IService<SupplierAccessory> {

    /**
     * 查询附件信息
     * @param accessoryType
     * @return
     */
    public List<SupplierAccessoryVO> querySupplierAccessory(String supplierCode,String accessoryType);

    /**
     * 查询附件信息以及附件存储路径
     * @param supplierCode
     * @return
     */
    public List<SupplierAccessoryVO> querySupplierAccessoryPath(String supplierCode);

    /**
     * 新增附件数据
     * @param voList
     */
    void insertSupplierAccessory(List<SupplierAccessoryVO> voList);
}
